package edu.hwadee.action;

import com.opensymphony.xwork2.ModelDriven;

import edu.hwadee.entity.Materialsell;

public class MaterialsellAction extends BasicAction implements ModelDriven<Materialsell> {

	private Materialsell materialsell;
	
	@Override
	public Materialsell getModel() {
		if(getMaterialsell() == null)
			setMaterialsell(new Materialsell());
		return getMaterialsell();
	}

	public Materialsell getMaterialsell() {
		return materialsell;
	}

	public void setMaterialsell(Materialsell materialsell) {
		this.materialsell = materialsell;
	}

}
